OTDelay
Delays processing for a specified number of seconds. This function is only provided for compatibility with the UNIXsleep
function.C INTERFACE
void OTDelay(UInt32 seconds)C++ INTERFACES
None. C++ applications use the C interface to this function.PARAMETERS
seconds
- The number of seconds to delay.
DESCRIPTION
TheOTDelay
function delays processing for the number of seconds specified in theseconds
parameter. While the delay is occurring,OTDelay
continuously calls theOTIdle
function.You can only call the
OTDelay
function from within an application at system task time. This function is only provided for compatibility with the UNIXsleep
function to assist with portability of UNIX code.SPECIAL CONSIDERATIONS
You should never call theOTDelay
function in production code on a Macintosh computer.